import login from './modules/login'
import Home from '@/views/Home.vue'
import content from './modules/content'
const Index = () =>
    import ('@/views/channels/Index.vue')
const Template1 = () =>
    import ('@/views/channels/Template1.vue')
export default {
    linkExactActiveClass: 'layui-this',
    routes: [{
            path: '/',
            component: Home,
            children: [{
                path: '',
                name: 'index',
                component: Index
            }, {
                path: '/index/:catalog',
                name: 'catalog',
                component: Template1
            }]
        },
        ...content,
        ...login,
    ]
}